﻿//////////////////////////////////////////////////////////////////////////////
//
// Copyright © 1998-2024 Glodon Company Limited.
//
// Licensed under the MIT License
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the “Software”),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
// sell copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
// THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
//////////////////////////////////////////////////////////////////////////////
#pragma once
#include "GbmpModel.h"

#define PlanViewType       L"PlanViewType"      // 平面视图
#define ElevationViewType  L"ElevationViewType" // 立面视图
#define SectionViewType    L"SectionViewType"   // 剖面视图
#define View3DViewType     L"View3DViewType"    // 三维视图
#define CeilingViewType    L"CeilingViewType"   // 天花板视图
// 增加视图类型时，需在GetModelViewTypeName中提供视图类型名称

#define  View2DConstructionViewType   L"View2DConstructionViewType" //  L"二维施工图视图"
#define  View3DViewTypePerspective    L"View3DViewTypePerspective"  //  L"三维透视视图"

#define  BMVI_UserDefined         L"BMVI_UserDefined"        // 未定义视图
#define  BMVI_BaseLevel           L"BMVI_BaseLevel"          // 基础标高
#define  BMVI_Ceiling             L"BMVI_Ceiling"            // 天花板
#define  BMVI_Right               L"BMVI_Right"              // 右视图
#define  BMVI_Left                L"BMVI_Left"               // 左视图
#define  BMVI_Front               L"BMVI_Front"              // 前视图
#define  BMVI_Back                L"BMVI_Back"               // 后视图
#define  BMVI_3D                  L"BMVI_3D"                 // 三维视图
#define  BMVI_2DCONSTRUCTION      L"BMVI_2DCONSTRUCTION"     // 二维施工图视图

//二维出图相关
#define DrawingLayoutViewType         L"DrawingLayoutViewType"  // 图纸视图
namespace gcmp
{
    class GBMP_MODEL_EXPORT GbmpModelViewTypeUtil
    {
    public:
        static std::wstring GetModelViewTypeName(const std::wstring& viewType);

    };
}
